<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>up (CreateMywikis)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File db/migrate/20081211041901_create_mywikis.rb, line 2</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">up</span>
    <span class="ruby-identifier">create_table</span> <span class="ruby-identifier">:mywikis</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span>          
          <span class="ruby-identifier">t</span>.<span class="ruby-identifier">column</span> <span class="ruby-value str">&quot;title&quot;</span>, <span class="ruby-identifier">:string</span>, <span class="ruby-identifier">:null</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">false</span>
          <span class="ruby-identifier">t</span>.<span class="ruby-identifier">column</span> <span class="ruby-value str">&quot;description&quot;</span>, <span class="ruby-identifier">:string</span>
          <span class="ruby-identifier">t</span>.<span class="ruby-identifier">column</span> <span class="ruby-value str">&quot;body&quot;</span>, <span class="ruby-identifier">:text</span>
          <span class="ruby-identifier">t</span>.<span class="ruby-identifier">column</span> <span class="ruby-value str">&quot;userid&quot;</span>, <span class="ruby-identifier">:integer</span>, <span class="ruby-identifier">:null</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">false</span>
          <span class="ruby-identifier">t</span>.<span class="ruby-identifier">column</span> <span class="ruby-value str">&quot;tags&quot;</span>, <span class="ruby-identifier">:string</span>
      <span class="ruby-identifier">t</span>.<span class="ruby-identifier">timestamps</span>
    <span class="ruby-keyword kw">end</span>         
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>